#coding=utf-8
from django.contrib import admin
from member.models import *

class MemberAdmin(admin.ModelAdmin):
    list_display            = ('user.username', 'user.email', 'nickname', 'gender', 'user.date_joined', 'user.last_login', 'user.is_staff')
    list_filter             = ('user.is_staff', 'user.is_superuser')
    list_per_page           = 25
    list_select_related     = True
    date_hierarchy          = 'user.last_login'
   
#admin.site.register(Member, MemberAdmin)